package com.bothin.experiment4.service;

import com.bothin.experiment4.dto.ContactDetailDTO;
import com.bothin.experiment4.form.ContactForm;
import com.bothin.experiment4.model.ContactDetail;
import com.bothin.experiment4.service.base.IBaseService;

import java.util.List;

/**
 * Created by bothin
 * At 2019/12/17 19:33
 * Description:
 */
public interface IContactDetailService extends IBaseService<ContactDetail> {
    public List<ContactDetailDTO> findByContactId(String contactId);
    public ContactDetailDTO findByContactIdAndProductIdDTO(String contactId,String productId);
    public ContactDetail findByContactIdAndProductId(String contactId,String productId);
    public void updateByContactForm(ContactForm contactForm);
    public void insertByContactForm(ContactForm contactForm);
    public boolean judgeAllPrintStatusIsZeroById(String contactId);
}
